package com.hpli.domain.credit.repository;


import com.hpli.domain.credit.model.aggregate.TradeAggregate;
import com.hpli.domain.credit.model.entity.CreditAccountEntity;

/**
 * @Author: 汀
 * @CreateTime: 2025-04-22
 * @Description: 用户积分仓储层
 * @Version: 1.0
 */

public interface ICreditRepository {

    void saveUserCreditTradeOrder(TradeAggregate tradeAggregate);

    CreditAccountEntity queryUserCreditAccount(String userId);

}
